From b975a3ab23934f2a0a2997fdad3d68e2de8ee7b1 Mon Sep 17 00:00:00 2001 From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Thu, 14 Oct 2021 12:03:06 -0600 Subject: [PATCH] fix sha on continous releases from github. (#736) --- tools/uploadtool/upload_github.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/uploadtool/upload_github.sh b/tools/uploadtool/upload_github.sh index c67a58923..751f07e98 100755 --- a/tools/uploadtool/upload_github.sh +++ b/tools/uploadtool/upload_github.sh @@ -92,7 +92,7 @@ if [ "{$GITHUB_SHA}" != "$target_commit_sha" ] ; then "${delete_url}" fi - if [ "$RELEASE_NAME" == "continuous" ] ; then + if [ "$(expr "$RELEASE_NAME" : '.*\(continuous\)')" == "continuous" ] ; then # if this is a continuous build tag, then delete the old tag # in preparation for the new release echo "Delete the tag..." -- 2.30.2